package pl.enigmatic.parser.string.java.lang;

import pl.enigmatic.parser.string.Converter;


public class CharacterConverter extends Converter.Primitive<Character> {

	@Override
	protected Character convertEmptyString() {
		return '\u0000';
	}

	@Override
	protected Character convertNonEmptyString(final String value) {
		return value.charAt(0);
	}

}
